<#include "common/header.html"/>
	<div class="wrapper wrapper-content animated fadeInUp">
		<div class="ibox ">
			<div class="ibox-title">
				<h5>
					添加用户
				</h5>
			</div>
			<div class="ibox-content">
				<form method="post" action="/user/add" class="form-horizontal">
					<div class="form-group">
						<label class="col-sm-2 control-label">用户编码</label>
						<div class="col-sm-10">
							<input type="text" class="form-control" name="userCode">
							<span class="help-block m-b-none">用户编码不能重复</span>
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">用户名称</label>
						<div class="col-sm-10">
							<input type="text" class="form-control" name="userName"> 
							
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">密码</label>

						<div class="col-sm-10">
							<input type="password" class="form-control" name="userPassword">
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
                                <label class="col-sm-2 control-label">性别
                                </label>
                                <div class="col-sm-10">
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" checked="" value="1" name="gender"> <i></i>男</label>
                                    </div>
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio"  value="2" name="gender"> <i></i>女</label>
                                    </div>
                                </div>
                            </div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">出生日期</label>

						<div class="col-sm-10">
							<input type="text" placeholder="提示信息" class="form-control" name="birthday">
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">地址</label>

						<div class="col-sm-10">
							<input type="text" placeholder="提示信息" class="form-control" name="address">
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">手机号码</label>

						<div class="col-sm-10">
							<input type="text" placeholder="提示信息" class="form-control" name="phone">
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
						<label class="col-sm-2 control-label">角色</label>

						<div class="col-sm-10">
							<select class="form-control m-b" name="userRole">
								<#list roleList as role>
									<option value="${role.id}">${role.roleName}</option>
								</#list>
							</select>
						</div>
					</div>
					<div class="hr-line-dashed"></div>
					<div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button class="btn btn-primary" type="submit">保存内容</button>
                                    <button class="btn btn-white">取消</button>
                                </div>
                            </div>
					</form>
			</div>
		</div>
	</div>
	<#include "common/footer.html"/>